package com.cn.dream_order_server.mapper;

import com.cn.dream_order_server.pojo.GoodCommoditySku;
import com.cn.dream_order_server.pojo.GoodCommoditySkuExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface GoodCommoditySkuMapper {
    long countByExample(GoodCommoditySkuExample example);

    int deleteByExample(GoodCommoditySkuExample example);

    int deleteByPrimaryKey(String commodityId);

    int insert(GoodCommoditySku record);

    int insertSelective(GoodCommoditySku record);

    List<GoodCommoditySku> selectByExample(GoodCommoditySkuExample example);

    GoodCommoditySku selectByPrimaryKey(String commodityId);

    int updateByExampleSelective(@Param("record") GoodCommoditySku record, @Param("example") GoodCommoditySkuExample example);

    int updateByExample(@Param("record") GoodCommoditySku record, @Param("example") GoodCommoditySkuExample example);

    int updateByPrimaryKeySelective(GoodCommoditySku record);

    int updateByPrimaryKey(GoodCommoditySku record);
}